package com.yanqu.road.entity.relatives;

import com.yanqu.road.entity.DataObject;

public class RelativesGift extends DataObject {
    private long giftId;
    private long fromId;
    private long toId;
    private boolean isGet;
    private long lastTime;

    public long getGiftId() {
        return giftId;
    }

    public void setGiftId(long giftId) {
        if (giftId != this.giftId) {
            this.giftId = giftId;
            setUpdateOption();
        }
    }

    public long getFromId() {
        return fromId;
    }

    public void setFromId(long fromId) {
        if (fromId != this.fromId) {
            this.fromId = fromId;
            setUpdateOption();
        }
    }

    public long getToId() {
        return toId;
    }

    public void setToId(long toId) {
        if (toId != this.toId) {
            this.toId = toId;
            setUpdateOption();
        }
    }

    public boolean isGet() {
        return isGet;
    }

    public void setGet(boolean isGet) {
        if (isGet != this.isGet) {
            this.isGet = isGet;
            setUpdateOption();
        }
    }

    public long getLastTime() {
        return lastTime;
    }

    public void setLastTime(long lastTime) {
        if (lastTime != this.lastTime) {
            this.lastTime = lastTime;
            setUpdateOption();
        }
    }
}
